using imitateMacQQ.WebApi.Domain.real_time.communication.Entity;
using imitateMacQQ.WebApi.Domain.Request.utils;

namespace imitateMacQQ.WebApi.Domain.real_time.communication.Interface;

public interface IDesign
{
    /// <summary>
    /// 请求别人给我发的信息
    /// </summary>
    /// <param name="account">对话人</param>
    /// <returns></returns>
    public Task<Request<GetPipeline[]>> GetIngo(InfoAccount account);
    /// <summary>
    /// 我给别人发信息
    /// </summary>
    /// <param name="message">信息数据</param>
    /// <returns></returns>
    public Task<Request<bool>> SendMessageOfUser(SavePipeline message);
    /// <summary>
    /// 接收回执
    /// </summary>
    /// <param name="res">是否接收到</param>
    /// <returns></returns>
    public Request<bool> GetInfoResult(InfoAccount res);
    /// <summary>
    /// 获取信息发出来的时间
    /// </summary>
    /// <param name="dto"></param>
    /// <returns></returns>
    public Task<Request<DateTime>> GetInfoEndTime(GetInfoTime dto);
}